-- GENERATED SPELL FOR [Hive'Zara Wasp] --


function spell0_15325(pUnit, Event) --@Itch,n/a--
pUnit:FullCastSpellOnTarget(25185,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_15325', 8338, 1)
end

function Sorts_15325(pUnit, Event)
local choix_sorts_15325 = math.random(0, 0)
if choix_sorts_15325 == 0 then
pUnit:RegisterEvent('spell0_15325', 1, 1)
end
end

function mob15325_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_15325', math.random(1500, 3000), 1)
end

function mob15325_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob15325_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob15325_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(15325, 1, 'mob15325_Action')
RegisterUnitEvent(15325, 2, 'mob15325_Leave')
RegisterUnitEvent(15325, 3, 'mob15325_Kill')
RegisterUnitEvent(15325, 4, 'mob15325_Die')
